************************* Use C-Pg Up to return ********************************
********************* Use Pg Up and Pg Dn to scroll ****************************
*************************** Use C-s to search **********************************
Copyright (C) 1993 Leon van Dommelen      There is no warranty on this software

				 Summary

This file summarizes the various keys and commands of Freemacs.


Topics:				Brief Description
-------------------------------------------------------------------------------

Intro				Introduction
- Notations			Notations used
- Notes				Some general observations
  - Repeat			Repeating commands
  - Confirmation		Skipping the confirmation step
  - Execute Directly		Execute a typed command

Definitions			Keys and M-x commands
- Abort				Abort key
- Help				Get help
- Exit				Exit Emacs
- Entering Commands		Use M-x
- Files				Manage files
- Buffers			Manage buffers
- Windows			Use two windows
- Cursor Motion			Move the cursor
- Insert Text			Insert text in the buffer
- Transpose			Transpose text
- Mark				Select text by setting marks
- Delete, Restore, Move		Cut and paste
- Search			Search for text
- Complete			Complete a word by searching for a match
- Search and Replace		Replace a selected string of text
- Fill				Fill a paragraph to the margin
- Indent			Indent lines
- Change Case			Change text to upper or lowercase
- Tabs and Spaces		Convert between Tabs and Spaces
- Parentheses			Find a matching parenthesis
- Comments			Trailing comments
- Word Count			Count words in the buffer
- Sort				Sort lines
- Set Defaults			Set editor defaults
- Define Key			Change the definition of a key
- Learn				Save a sequence of key strokes
- DOS Interaction		Use DOS within Emacs
- Edit Libraries		Libraries of Emacs commands
- Spell				Spell check


				= Intro =
--------------------------------------------------------------------------------

This file summarizes the various keys and commands of Freemacs.

Notations:
----------

M-x means press <Esc> first, <x> next.  Sometimes holding <Alt> while
pressing <x> works also.
C-x means to hold the <Ctrl> key down while pressing <x>
Spaces between parts of a key sequence are not typed.

See subject:	Intro, topic Using Keys


Notes:
------

Repeat:

Many commands can be repeated a number of times by prefixing them with a
C-u NUMBER prefix.  However, there are also commands that use the argument,
instead of being repeated.
Instead of pressing C-u, you can keep Alt down while typing the number.
See key:	C-u		Providing an argument/repeat count

Confirmation:

Many commands have an OK? first argument.  If this argument is nil, the
command will ask confirmation that you really want to execute it.
Prefixing such a command with any C-u prefix skips the confirmation.
Or you can redefine the key that invokes the command to include the
C-u prefix.  This is done through C-u F3 or C-u M-x bind-to-key.
See key:	C-u		Providing an argument/repeat count
See key:	F3		Define a key

Execute Directly:

Usually, Mint commands are executed by pressing the key they are bound to
or using M-x.  It is also possible, however, to execute a line of Mint code
directly using F2.  As an example, press F2 in the next line:
#(F:forward-character)
See key:	Right Arrow	Does exactly the same thing

Sometimes this is useful. For example, to list all option names that contain
the string `back', put the cursor in the next line and press F2 back Return:
#(F:apropos,-)
See key:	M-?		M-? back Return lists a lot of other stuff.


				= Definitions =
--------------------------------------------------------------------------------

This topic lists the important keys and commands in the Fun library.

Abort:
-----

See subject:	Intro, topic Abort

C-g is the abort key; C-Break should only be used as a last resort.
See key:	C-g		Abort

Help:
-----

See subject:	Intro, topic Using Help

See key:	F1		Help
See command:	help.f1		Load the help files
See command:	help.a		Search for part of a command name
See command:	help.b		Show all key definitions
See command:	help.f		Show the documentation of a command
See command:	help.k		Show the definition of a single key
See command:	help.m		Show help on the current editing mode
See command:	help.t		Load the GNU Emacs tuturial
See command:	help.w		Find the key that invokes a command

See command:	instant help	Help while being prompted

See key:	M-?		Search for a function name

See key:	Right Down	Brings up a menu of common tasks
See subject:	Intro, topic Menu

Exit:
-----

See subject:	Intro, topic Exit

See key:	C-x C-c		Exit Emacs
See command:	exit-for-now	Exit temporarily
See key:	C-z		Shell to DOS with Emacs still in memory

Entering Commands:
------------------

See key:	M-x		Execute a command not bound to a key
See key:	C-u		Repeat count/argument

Files:
------

See subject:	Intro, topic Editing Files
See subject:	Intro, topic Buffers and Files
See subject:	Intro, topic Saving

See key:	C-x C-f		Start editing a file

See key:	C-x s		Save all modified files to disk
See key:	C-x C-s		Save the file in the current buffer to disk
See key:	C-x C-w		Save, ask for a filename and whether to backup
See key:	C-x C-c		Exit saves files

See command:	history			How to record file changes
See command:	read-only		How to prevent accidental saving
See command:	write-and-compare	Backup, save, and compare the two files
See command:	restore-backup		Replace with the .BAK backup file
See command:	set-visited-filename	Give buffer another filename

See key:	M-~		Prevent file from being saved
See key:	C-x k		Kill buffer. CANNOT be restored!
See key:	C-x C-v		Kill buffer and put another file in it

See key:	C-x i		Insert a file in the current buffer

Buffers:
--------

See subject:	Intro, topic Buffers and Files
See subject:	Intro, topic Editing Files
See subject:	Intro, topic Saving

See key:	C-x C-b		List all available buffers
See key:	C-x b		Create or go to a buffer
See key:	C-Pg Up		Go to the previous buffer
See key:	C-Pg Dn		Go to the next buffer
See command:	mouse-select-buffer	Select the buffer from a menu

See key:	M-~		Prevent buffer from being saved
See key:	C-x C-w		Save the buffer contents to disk
See key:	C-x C-c		Exit warns for unsaved buffers
See key:	C-x k		Kill buffer. CANNOT be restored!

See command:	Fun-mode	Set no-frills editing mode
See command:	Text-mode	Set no-frills text editing mode
See command:	ASM-mode	Set ASM mode


Windows:
--------

See key:	C-x 2		Divide the screen into two windows
See key:	C-x ^		Enlarge the current window
See key:	C-x 1		Get rid of the other window
See key:	C-x 0		Get rid of this window
See key:	C-x o		Switch to the other window

See key:	C-x 4 b		Select/create a buffer in the other window
See key:	C-x 4 f		Load a file in the other window
See key:	C-x 4 d		Load a directory in the other window

See key:	M-Up Arrow	One line up in the other window
See key:	M-Down Arrow	One line down in the other window
See key:	M-Pg Up		One screen up in the other window
See key:	M-Pg Dn		One screen down in the other window

See command:	compare-windows	Compare the two windows

Cursor Motion:
--------------

See subject:	Intro, topic Moving Around

See key:	Left Arrow	Previous character
See key:	Right Arrow	Next character

See key:	C-Left Arrow	Backward word
See key:	C-Right Arrow	Forward word

See key:	Home		Start of line
See key:	End		End of line
See key:	Up Arrow	Previous line
See key:	Down Arrow	Next line
See key:	C-Up Arrow	One line up by scrolling the screen
See key:	C-Down Arrow	One line down by scrolling the screen

See key:	M-a		Backward sentence
See key:	M-e		Forward sentence

See key:	M-{		Backward paragraph
See key:	M-}		Forward paragraph

See key:	Pg Up		One page up
See key:	Pg Dn		One page down

See key:	C-Home		Start of buffer
See key:	C-End		End of buffer

See key:	M-g		Go to a desired line number

See key:	Left Down	Follow the mouse

See key:	C-@		Set a mark
See key:	C-x C-x		Swap cursor and marked positions
See key:	M-C-x		Go to a previous mark

See key:	C-s		Search forward
See key:	C-r		Search backward
See key:	M-C-s		Search for a regexp

See key:	M-C-b		Skip past the last matching ( and )
See key:	M-C-f		Skip past the next matching ( and )

See key:	C-l		Center cursor on screen

Insert Text:
------------

See key:	C-q		Insert a special character in the buffer
See key:	C-Ins		Turn overwrite mode on/off
See key:	C-x i		Insert a file in the buffer
See key:	Ins		Insert a new line before the cursor line
See key:	C-o		Break the line at the cursor
See key:	C-Right Down	Copy text from mouse pointer to cursor

Transpose:
----------

See key:	C-t		Transpose characters
See key:	M-t		Transpose words
See key:	C-x C-t		Transpose lines

Mark:
-----

See key:	C-@		Set a mark at the cursor
See key:	M-@		Set a mark behind the next word
See key:	C-x <		Set a mark at the start of the buffer
See key:	C-x >		Set a mark at the end of the buffer
See key:	C-x h		Mark at the end of buffer, cursor at the start

See key:	S-Left Down	Set a mark at the mouse pointer
See key:	C-Left Down	Show marked text
See key:	Left Down	Mark text using the mouse

See key:	C-x C-x		Swap cursor and marked positions
See key:	M-C-x		Go to a previous mark

Delete, Restore, Move:
----------------------

See key:	Del		Delete the next character
See key:	Back Space	Delete the previous character
See command:	undelete	Restore the last character deleted
Only the very last character deleted can be restored. Use a kill if needed.

See key:	M-\		Delete surrounding spaces and tabs
See key:	M- 		Leave just one space (key is M-Space)
See key:	M-C-\		Delete all trailing spaces and tabs

See key:	M-d		Kill the next word
See key:	M-Back Space	Kill the previous word
See key:	C-k		Kill the current line
See key:	M-k		Kill to the end of the sentence
See key:	C-w		Kill the selected region
See key:	M-w		Copy the selected region
See command:	kill-comment	Kill the trailing comment

See key:	M-C-w		Treat the previous and next kill as one kill

See key:	C-y		Yank (retrieve) the last kill or an earlier one
See key:	M-y		Replace the yanked kill with an earlier one
Only the last 8 kills can be restored.

See key:	Left Down	Mark text indicated by the mouse
See key:	S-Left Down	Set a mark at the mouse pointer
See key:	C-Left Down	Show marked text
See key:	M-Left Down	Kill the displayed region
See key:	M-Right Down	Restore the last kill or an earlier one

See key:	F4		Kill the selected rectangle
See key:	F5		Restore the killed rectangle
Only the last killed rectangle can be restored.

See key:	C-Right Down	Copy text from mouse pointer to cursor

See key:	C-x k		Kill buffer. CANNOT be restored!

See command:	filter-region	Perform a selective delete using FIND of DOS

Search:
-------

See key:	C-s		Search forward for a string
See key:	C-r		Search backward for a string
See key:	M-C-s		Search forward for a pattern
See command:	exact-case	Set sensitivity to upper/lowercase in searching

Complete:
---------

See key:	F8		Complete a word by searching for a match

Search and Replace:
-------------------

See key:	M-%		Replace a string by another string
See command:	query-replace-regexp	Replace a pattern by a string
See command:	exact-case	Set sensitivity to upper/lowercase in searching

Fill:
-----

See key:	M-q		Fill the current paragraph to the right margin
See key:	F12		Turn auto-fill-mode on/off
See key:	C-x f		Set the right margin
See key:	C-x .		Set the line beginning

Indent:
-------

See key:	C-j		Start new line with the same indentation
See key:	C-x Tab		Indent the selected region
See command:	Tab		Add the indentation of the previous line
See command:	center-text-line	Center the current line
See command:	auto-indent-mode	Turn automatic indenting on/off

Change Case:
------------

See key:	M-c		Capitalize the next word
See key:	M-l		Convert the next word to lowercase
See key:	M-u		Convert the next word to uppercase

See key:	C-x C-l		Convert the selected region to lowercase
See key:	C-x C-u		Convert the selected region to uppercase
See command:	invert-region	Switch lower/uppercase in the selected region

Tabs and Spaces:
----------------

See command:	spaces-to-tabs	Convert spaces into tabs to save storage
See command:	tabs-to-spaces	Convert tabs into unambiguous spaces

Parentheses:
------------

See key:	RPar		Insert ) and flash (
See key:	}		Insert } and flash {
See key:	]		insert ] and flash [

See key:	M-C-b		Skip past the last matching ( and )
See key:	M-C-f		Skip past the next matching ( and )

Comments:
---------

See key:	M-;		Insert/align a trailing comment
See key:	C-x ;		Set the comment column/Kill comment

Word Count:
-----------

See command:	word-count	Count words in the buffer beyond the cursor

Sort:
-----

See command:	filter-region	Sort lines using SORT of DOS

Set Defaults:
-------------

See command:	monochrome	Set colors for monochrome screen
See command:	set-some-options	Set the editor defaults
See command:	show-some-options	Show the active and default values

Define Key:
-----------

See key:	F3		Change the definition of a key
See command:	copy-key	Give a key the same definition as another
See command:	unbind-key	Delete the definition of a key

Learn:
------

See key:	C-x LPar	Start saving keys
See key:	C-x RPar	Stop saving keys
See key:	M-RPar		Suspend saving keys temporarily
See key:	M-LPar		Resume saving keys
See key:	C-x e		Execute the saved keys
See command:	name-kbd-macro	Give the saved key sequence a name
See command:	erase-kbd-macro	Erase a named key sequence

DOS Interaction:
----------------

See command:	delete-file	Delete a file on disk
See command:	rename-file	Rename a file/directory on disk to another
See command:	exit-for-now	Exit to DOS temporarily
See key:	C-z		Shell to DOS with Emacs still in memory
See key:	C-x !		Perform a single DOS command
See key:	M-!		Put the results of a DOS command in a buffer
See command:	filter-region	Pass the selected region through a DOS filter
See key:	C-x C-e		Execute MAKE in DOS
See command:	masm		Execute MASM in DOS

See subject:	Memory

Edit Libraries:
---------------

See subject:	Modify

See key:	C-x C-c		Exit saves edit libraries
See command:	save-all-libs	Save all modification to Emacs to disk


Spell:
------

Requires archive EMACSP[EL].ARC, containing a no-frills spell check.

See key:	M-$		Spell check the last word
See command:	spell-check	Spell check the buffer beyond the cursor
See command:	auto-spell-mode	Turn automatic spell check on/off
See command:	add-to-dictionary	Add the last word to the dictionary
See command:	save-dictionary	Save the dictionary to disk

************************* Use C-Pg Up to return  ******************************
************************* Use Pg Up to scroll up ******************************
*******************************************************************************
